To get Mail work for `git am`

Posted by Masi on Super User See other posts from Super User or by Masi
Published on 2009-07-22T20:51:19Z Indexed on 2010/06/03 21:26 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I use Gmail and Mac's Mail for emails. It seems that you can use git am only with a terminal's Mail in OS X/Ubuntu.

I apparently need to set up my ~/.mailrc such that

# gmail account
account gmail {
set from="[email protected] (Masi Masi)"
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"
}

I run

mail [email protected]

I get

Unknown command: "account"

How can you use Gmail for Mail such that I get my mails' patches to git am?

© Super User or respective owner

Related posts about osx

Related posts about beginner